package io.renren.modules.dataInitialization.service;

import io.renren.modules.dataInitialization.entity.BinzhiCourseInfoEntity;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface BinzhiCourseInfoService {
    List<BinzhiCourseInfoEntity> queryList(Map<String, Object> map);
    int queryTotal(Map<String, Object> map);
    void deleteBatch(String[] indexs);
    void save(BinzhiCourseInfoEntity cse,String year,String term);
    BinzhiCourseInfoEntity queryObject(String index);
    void update(BinzhiCourseInfoEntity cse,String year,String term);
    void insertIntoDataBase(InputStream inputStream, String year, String term);
    BinzhiCourseInfoEntity queryUnique(String className,
                                       String courseId);
    void deleteUnique(String className,
                      String courseId);
}
